package com.framework.loippi.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.framework.loippi.dao.AskInfoDao;
import com.framework.loippi.entity.AskInfo;
import com.framework.loippi.service.AskInfoService;
import java.util.List;
/**
 * SERVICE - AskInfo(咨询记录表)
 * 
 * @author wmj
 * @version 2.0
 */
@Service
public class AskInfoServiceImpl extends GenericServiceImpl<AskInfo, Long> implements AskInfoService {
	
	@Autowired
	private AskInfoDao askInfoDao;
	
	
	@Autowired
	public void setGenericDao() {
		super.setGenericDao(askInfoDao);
	}

	public List<AskInfo> findListByPage(Object parameter){
		return askInfoDao.findListByPage(parameter);
	}

	public Long deletes(Object parameter){
		return askInfoDao.deletes( parameter);
	}
	
	@Override
	public List<AskInfo> findAllByIds(Object id, Object patient_wx) {
		return askInfoDao.findAllByIds(id,patient_wx);
	}
}
